<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ page contentType="text/html; charset=UTF-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>留言</title>



		<link href="register.css" rel="stylesheet" type="text/css" />
	</head>

	<body>
		<div class="div1" id="div1">
			<p>
				&nbsp;
			</p>
			<%--
   从action中拿到的属性<s:property value="userName"/>
  --%>
			<form id="form1" name="form1" method="post"
				onsubmit="return checkform()" action="sendMessage">
				<div class="buttonholder">
					<span>给卖家留言，约定交易时间，地点</span>
				</div>
				<table width="713" height="319">
					<%--
    从action中拿到的属性放在隐藏域中
     --%>
					<input name="userName" type="hidden"
						value="<s:property value="userName"/>" />

					<%--<input type="hidden" name="smartresult" value="dict" /> 
      --%>
					<tr>
						<td class="test1">
							内容:
						</td>
						<td>
							<label>
								<textarea name="message" class="mytextarea" id="password"></textarea>
							</label>
						</td>
						<td class="notation">
							*
						</td>
						<td class="notation" id="p_msg">
							&nbsp;
						</td>
					</tr>
				</table>

				<div class="buttonholder">
					<input name="Submit" type="submit" class="mybutton" value="留言" />
				</div>
				<p>
					&nbsp;
				</p>
				<p>
					&nbsp;
				</p>
				<p>
					<label></label>
				</p>
			</form>
			<p>
				&nbsp;
			</p>
			<p>
				&nbsp;
			</p>
		</div>
		<script language="JavaScript" type="text/javascript"
			src="registerCheck.js"></script>
	</body>
</html>
